package com.coincalf.admin.web.config;

import com.coincalf.admin.annotation.Log;
import com.coincalf.admin.enums.SysLogTypeEnum;
import com.coincalf.admin.service.AddressPoolService;
import io.swagger.annotations.Api;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/addressPool")
@Api(value = "地址池")
public class AddressPoolController {

    @Autowired
    private AddressPoolService addressPoolService;

    //TODO 生成地址
    @Log(value = "向地址池新增地址", type = SysLogTypeEnum.INSERT)
    public Object addAddressToPool() {
        //TODO
        return null;
    }

}
